package org.example.lottery.common.errorcode;

public interface ServiceErrorCodeConstants {

    //人员模块错误码的定义
    ErrorCode REGISTER_INFO_EMPTY=new ErrorCode(100,"参数为空");

    ErrorCode EMAIL_FORMAT_ERROR=new ErrorCode(101,"邮箱格式错误");

    ErrorCode PASSWORD_FORMAT_ERROR=new ErrorCode(102,"密码格式错误");

    ErrorCode IDENTITY_IS_EMPTY=new ErrorCode(103,"用户身份为空");

    ErrorCode PHONE_NUMBER_FORMAT_ERROR=new ErrorCode(104,"手机号格式错误");
    ErrorCode PASSWORD_IS_EMPTY=new ErrorCode(105,"密码为空");
    ErrorCode EMAIL_USED=new ErrorCode(106,"邮箱已经被使用");
    ErrorCode PHONE_NUMBER_USED=new ErrorCode(107,"手机号已经被使用");
}
